home *** CD-ROM | disk | FTP | other *** search
/ Pascal Super Library / Pascal Super Library (CW International)(1997).bin / DATETIME / TIMERS / TIMERS.ASM next >
Assembly Source File  |  1990-10-22  |  685b  |  30 lines

  1. ;******************************************************************************
  2. ; TIMERS.ASM  - Routines which intercept 55ms PC interupt $1C to do timing
  3. ;         Assemble with TASM
  4. ; Author      - Richard Mullen
  5. ; Date          - 10/20/90
  6. ;******************************************************************************
  7.  
  8. ; Assembly routine for unit Timers.pas
  9.  
  10.     .model     tpascal
  11.     p8086
  12.     .code
  13.     ideal
  14.  
  15.     public    CallRoutine
  16.  
  17. ; procedure CallRoutine (Vector : pointer);
  18.  
  19.     PROC CallRoutine NEAR Vector : dword
  20.  
  21.     pushf                  ; Simulate interupt call.  The
  22.     cli                  ;  routine at Vector should
  23.     call    [Vector]          ;  end with an RETI
  24.     ret                  ;
  25.  
  26.     endp    CallRoutine
  27.  
  28.     end
  29.  
  30.